Release 10.1A: OpenEdge Data Management:
DataServer for ODBC
Modifying field-level information
You can modify field-level information.
![]()
To modify information in the schema holder at the field level:
- Access the Data Dictionary, if you are not already there, and choose the Fields button. The Fields list appears.
- Select a table from the Tables list.
- Select a field from the Fields list.
- Choose the Field Properties button. The following dialog box appears:
![]()
You can enter OpenEdge information at the field level, such as a validation expression or a validation message.
The Data Dictionary displays the standard ODBC SQL names for data types and not the native ODBC data-source names. Using the Data Dictionary, you can make the following changes:
- Change the data type or the format in which Progress displays the data. For example, the Sybase
smallintdata type maps to the ODBC SQLSQL_SMALLINTdata type, which in turn maps to the ProgressINTEGERdata type. However, you can change theSQL_SMALLINTmapping to the ProgressDECIMALorLOGICALdata type instead. (See the "Data types" section for information on optional settings for data types.)Note: You cannot create fields or add mandatory or extent properties to them.- For
CHARACTERfields that are not indexed, you can change the case sensitivity.- Choose the DataServer button to view the field name and position as stored in the ODBC data source. A dialog box similar to the following appears:
Note: You cannot change ODBC data-source information using the Data Dictionary. For example, the
![]()
Cust–numfield is namedCust_numin the demonstration database.- Choose OK.
Note: You can override field-level validation expressions in your application by including the appropriate Progress 4GL statement.- When you are done making changes, choose OK to return to the Data Dictionary main window.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |